//
//  Person+CoreDataProperties.swift
//  ChapterAll
//
//  Created by Kevin on 2020/4/29.
//  Copyright © 2020 Kevin. All rights reserved.
//
//

import Foundation
import CoreData


extension Person {

    @nonobjc public class func fetchRequest() -> NSFetchRequest<Person> {
        return NSFetchRequest<Person>(entityName: "Person")
    }

    @NSManaged public var age: Int16
    @NSManaged public var name: String?

    public override var description: String {
        return "age=\(age),name=\(name ?? "")"
    }
}
